/*
 * An XML document type.
 * Localname: ConnectionBendpoint
 * Namespace: http:///org/isistan/flabot/edit/editormodel.ecore
 * Java type: org.isistan.flabot.edit.editormodelEcore.ConnectionBendpointDocument
 *
 * Automatically generated - do not modify.
 */
package org.isistan.flabot.edit.editormodelEcore.impl;
/**
 * A document containing one ConnectionBendpoint(@http:///org/isistan/flabot/edit/editormodel.ecore) element.
 *
 * This is a complex type.
 */
public class ConnectionBendpointDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.isistan.flabot.edit.editormodelEcore.ConnectionBendpointDocument
{
    private static final long serialVersionUID = 1L;
    
    public ConnectionBendpointDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName CONNECTIONBENDPOINT$0 = 
        new javax.xml.namespace.QName("http:///org/isistan/flabot/edit/editormodel.ecore", "ConnectionBendpoint");
    
    
    /**
     * Gets the "ConnectionBendpoint" element
     */
    public org.isistan.flabot.edit.editormodelEcore.ConnectionBendpoint getConnectionBendpoint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.isistan.flabot.edit.editormodelEcore.ConnectionBendpoint target = null;
            target = (org.isistan.flabot.edit.editormodelEcore.ConnectionBendpoint)get_store().find_element_user(CONNECTIONBENDPOINT$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "ConnectionBendpoint" element
     */
    public void setConnectionBendpoint(org.isistan.flabot.edit.editormodelEcore.ConnectionBendpoint connectionBendpoint)
    {
        generatedSetterHelperImpl(connectionBendpoint, CONNECTIONBENDPOINT$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
    }
    
    /**
     * Appends and returns a new empty "ConnectionBendpoint" element
     */
    public org.isistan.flabot.edit.editormodelEcore.ConnectionBendpoint addNewConnectionBendpoint()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.isistan.flabot.edit.editormodelEcore.ConnectionBendpoint target = null;
            target = (org.isistan.flabot.edit.editormodelEcore.ConnectionBendpoint)get_store().add_element_user(CONNECTIONBENDPOINT$0);
            return target;
        }
    }
}
